<html>
<body>
Reports <em>is log enabled for</em> conditions of <code>if</code> statements that
do not match the log level of the contained logging call.
<p>
For example:
<pre><code lang="java">
  if (LOG.isTraceEnabled()) {
    // debug level logged, but checked for trace level
    LOG.debug("some log message");
  }
</code></pre>
<!-- tooltip end -->
<p>This inspection understands the <em>java.util.logging</em>, <em>Log4j</em>, <em>Log4j2</em>, <em>Apache Commons Logging</em>
and the <em>SLF4J</em> logging frameworks.
</body>
</html>